inherited fmFindDeals: TfmFindDeals
  Caption = #1055#1086#1080#1089#1082' '#1089#1076#1077#1083#1082#1080
  ClientHeight = 377
  ClientWidth = 833
  OnShow = FormShow
  ExplicitWidth = 841
  ExplicitHeight = 411
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel [0]
    Left = 8
    Top = 80
    Width = 134
    Height = 13
    Caption = #8470' '#1089#1076#1077#1083#1082#1080'/'#8470' '#1058#1053'/'#8470' '#1089#1095#1105#1090#1072
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clNavy
    Font.Height = -11
    Font.Name = 'Tahoma'
    Font.Style = []
    ParentFont = False
  end
  object Label2: TLabel [1]
    Left = 525
    Top = 80
    Width = 68
    Height = 13
    Caption = #1048#1085#1076#1077#1082#1089' '#1075#1088#1091#1079#1072
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clNavy
    Font.Height = -11
    Font.Name = 'Tahoma'
    Font.Style = []
    ParentFont = False
  end
  inherited sbBottom: TStatusBar
    Top = 350
    Width = 833
  end
  inherited Panel1: TPanel
    Top = 305
    Width = 833
    inherited BitBtn1: TBitBtn
      Default = False
      Kind = bkCustom
    end
  end
  object rgOptions: TRadioGroup [4]
    Left = 8
    Top = 8
    Width = 817
    Height = 65
    Caption = #1050#1088#1080#1090#1077#1088#1080#1080' '#1087#1086#1080#1089#1082#1072
    Columns = 4
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Tahoma'
    Font.Style = [fsBold]
    ItemIndex = 0
    Items.Strings = (
      #1055#1086' '#8470' '#1089#1076#1077#1083#1082#1080
      #1055#1086' '#8470' '#1058#1053
      #1055#1086' '#8470' '#1089#1095#1105#1090#1072
      #1055#1086' '#1080#1085#1076#1077#1082#1089#1091' '#1075#1088#1091#1079#1072)
    ParentFont = False
    TabOrder = 2
  end
  object edNumber: TEdit [5]
    Left = 8
    Top = 96
    Width = 201
    Height = 21
    TabOrder = 3
  end
  object Edit1: TEdit [6]
    Left = 525
    Top = 96
    Width = 50
    Height = 21
    TabOrder = 4
  end
  object Edit2: TEdit [7]
    Left = 575
    Top = 96
    Width = 50
    Height = 21
    TabOrder = 5
  end
  object Edit3: TEdit [8]
    Left = 625
    Top = 96
    Width = 80
    Height = 21
    TabOrder = 6
  end
  object Edit4: TEdit [9]
    Left = 705
    Top = 96
    Width = 60
    Height = 21
    TabOrder = 7
  end
  object Edit5: TEdit [10]
    Left = 765
    Top = 96
    Width = 60
    Height = 21
    TabOrder = 8
  end
  object dbgClients: TcxGrid [11]
    Left = 8
    Top = 140
    Width = 817
    Height = 149
    Align = alCustom
    TabOrder = 9
    LookAndFeel.Kind = lfStandard
    object dbgClientsDBTableView1: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      NavigatorButtons.First.Visible = True
      NavigatorButtons.PriorPage.Visible = True
      NavigatorButtons.Prior.Visible = True
      NavigatorButtons.Next.Visible = True
      NavigatorButtons.NextPage.Visible = True
      NavigatorButtons.Last.Visible = True
      NavigatorButtons.Insert.Visible = False
      NavigatorButtons.Append.Visible = False
      NavigatorButtons.Delete.Visible = False
      NavigatorButtons.Edit.Visible = False
      NavigatorButtons.Post.Visible = False
      NavigatorButtons.Cancel.Visible = False
      NavigatorButtons.Refresh.Visible = False
      NavigatorButtons.SaveBookmark.Visible = False
      NavigatorButtons.GotoBookmark.Visible = False
      NavigatorButtons.Filter.Visible = False
      DataController.DataModeController.GridMode = True
      DataController.DataSource = dlgDS
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.CellHints = True
      OptionsBehavior.ImmediateEditor = False
      OptionsBehavior.IncSearch = True
      OptionsData.Deleting = False
      OptionsData.Editing = False
      OptionsData.Inserting = False
      OptionsView.Navigator = True
      OptionsView.NavigatorOffset = 10
      OptionsView.NoDataToDisplayInfoText = '<'#1053#1077#1090' '#1076#1072#1085#1085#1099#1093'>'
      OptionsView.GroupByBox = False
      OptionsView.Indicator = True
      OptionsView.ShowColumnFilterButtons = sfbAlways
      Styles.IncSearch = DMInv.cxKrasniyText
      Styles.Selection = DMInv.cxJoltiyFon
      Styles.Header = DMInv.cxSiniyText
      object dbgClientsDBTableView1DEID: TcxGridDBColumn
        DataBinding.FieldName = 'DEID'
        Width = 75
      end
      object dbgClientsDBTableView1DEOFIDSEND: TcxGridDBColumn
        DataBinding.FieldName = 'DEOFIDSEND'
        Width = 39
      end
      object dbgClientsDBTableView1DEOFIDDEST: TcxGridDBColumn
        DataBinding.FieldName = 'DEOFIDDEST'
        Width = 38
      end
      object dbgClientsDBTableView1DEWAYBILL: TcxGridDBColumn
        DataBinding.FieldName = 'DEWAYBILL'
        Width = 82
      end
      object dbgClientsDBTableView1SCLIENT: TcxGridDBColumn
        DataBinding.FieldName = 'SCLIENT'
        Width = 200
      end
      object dbgClientsDBTableView1RCLIENT: TcxGridDBColumn
        DataBinding.FieldName = 'RCLIENT'
        Width = 200
      end
      object dbgClientsDBTableView1INDDEALS: TcxGridDBColumn
        DataBinding.FieldName = 'INDDEALS'
        Width = 150
      end
    end
    object dbgClientsLevel1: TcxGridLevel
      GridView = dbgClientsDBTableView1
    end
  end
  object BitBtn3: TBitBtn [12]
    Left = 256
    Top = 94
    Width = 217
    Height = 25
    Caption = #1055#1086#1080#1089#1082' '#1089#1076#1077#1083#1086#1082
    Default = True
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Tahoma'
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 10
    OnClick = BitBtn3Click
  end
  inherited dlgDS: TDataSource
    DataSet = qFind
  end
  object qRyba: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    SQL.Strings = (
      
        'SELECT DISTINCT D.DEID, D.DEOFIDSEND, D.DEOFIDDEST, D.DEWAYBILL,' +
        ' CS.CLNAME SCLIENT, CR.CLNAME RCLIENT,'
      
        '       G.DGIND1||'#39'/'#39'||G.DGIND2||'#39'/'#39'||G.DGIND3||'#39'/'#39'||G.DGIND4||'#39'/' +
        #39'|| G.DGIND5 INDDEALS'
      '  FROM DEALS D'
      '  LEFT OUTER JOIN CLIENTS CS ON (D.DECLID_S = CS.CLID)'
      '  LEFT OUTER JOIN CLIENTS CR ON (D.DECLID_R = CR.CLID)'
      '  LEFT OUTER JOIN DEGOODS G ON (D.DEID = G.DEID)'
      '  LEFT OUTER JOIN DEINVOICE I ON (D.DEID = I.DEID)')
    Left = 288
  end
  object qFind: TIBQuery
    Database = DMInv.DBRead
    Transaction = DMInv.IBTransaction1
    SQL.Strings = (
      
        'SELECT DISTINCT D.DEID, D.DEOFIDSEND, D.DEOFIDDEST, D.DEWAYBILL,' +
        ' CS.CLNAME SCLIENT, CR.CLNAME RCLIENT,'
      
        '       G.DGIND1||'#39'/'#39'||G.DGIND2||'#39'/'#39'||G.DGIND3||'#39'/'#39'||G.DGIND4||'#39'/' +
        #39'|| G.DGIND5 INDDEALS'
      '  FROM DEALS D'
      '  LEFT OUTER JOIN CLIENTS CS ON (D.DECLID_S = CS.CLID)'
      '  LEFT OUTER JOIN CLIENTS CR ON (D.DECLID_R = CR.CLID)'
      '  LEFT OUTER JOIN DEGOODS G ON (D.DEID = G.DEID)'
      '  LEFT OUTER JOIN DEINVOICE I ON (D.DEID = I.DEID)')
    Left = 320
    object qFindDEID: TIntegerField
      DisplayLabel = #8470' '#1089#1076#1077#1083#1082#1080
      FieldName = 'DEID'
      Origin = '"DEALS"."DEID"'
      ProviderFlags = [pfInUpdate, pfInWhere, pfInKey]
      Required = True
    end
    object qFindDEOFIDSEND: TIntegerField
      DisplayLabel = #1055#1054
      FieldName = 'DEOFIDSEND'
      Origin = '"DEALS"."DEOFIDSEND"'
    end
    object qFindDEOFIDDEST: TIntegerField
      DisplayLabel = #1055#1053
      FieldName = 'DEOFIDDEST'
      Origin = '"DEALS"."DEOFIDDEST"'
    end
    object qFindDEWAYBILL: TIBStringField
      DisplayLabel = #8470' '#1058#1053
      FieldName = 'DEWAYBILL'
      Origin = '"DEALS"."DEWAYBILL"'
    end
    object qFindSCLIENT: TIBStringField
      DisplayLabel = #1054#1090#1087#1088#1072#1074#1080#1090#1077#1083#1100
      FieldName = 'SCLIENT'
      Origin = '"CLIENTS"."CLNAME"'
      Size = 255
    end
    object qFindRCLIENT: TIBStringField
      DisplayLabel = #1055#1086#1083#1091#1095#1072#1090#1077#1083#1100
      FieldName = 'RCLIENT'
      Origin = '"CLIENTS"."CLNAME"'
      Size = 255
    end
    object qFindINDDEALS: TIBStringField
      DisplayLabel = #1048#1085#1076#1077#1082#1089' '#1075#1088#1091#1079#1072
      FieldName = 'INDDEALS'
      ProviderFlags = []
      Size = 34
    end
  end
end
